﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Entities;

namespace Sio.Mdm.Types.Database
{
    [Entities.Entity(
                "LdapSinObjektiService",
                TableName = "LDAP_SIN_OBJEKTI"
            )]
    public interface LdapSinObjekt : IEntity
    {
        [PrimaryKey(Name = "LDAP_SIN_OBJEKT_ID", GeneratorName = "GEN_LDAP_SIN_OBJEKTI")]
        int LdapSinObjektID { get; set; }

        [Field(Name = "LDAP_PRAVILO_ID")]
        int LdapPraviloID { get; set; }    

        [Field(Name = "OBJEKT_ID")]
        int ObjektID { get; set; }

        [Field(Name = "OBJEKT_TIP_ID")]
        int ObjektTipID { get; set; }

        [Field(Name = "DATUM_VNOSA")]
        DateTime DatumVnosa { get; set; }        
    }
}
